#include <stdio.h>

int main(void){
    printf("        September   2024\n");
    printf("Mon  Tue  Wed  Thu  Fri  Sat  Sun\n");    
    printf("1\n");
    printf("2  3  4  5  6  7  8\n");
    printf("9  10  11  12  13  14  15\n");
    printf("16  17  18  19  20  21  22\n");
    printf("23  24  25  26  27  28  29\n");
    printf("30\n");

     return 0;
}